<?php
    class My_Controller extends CI_Controller{
        public function __construct(){
            parent::__construct();
            $this->load->helper('url');
            $this->load->library('session');
            $this->load->helper(array('form', 'url'));
        }
    }